projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a531f
)
C89 fix.
author
robertl
<robertl>
Wed, 3 Jan 2007 18:10:20 +0000
(18:10 +0000)
committer
robertl
<robertl>
Wed, 3 Jan 2007 18:10:20 +0000
(18:10 +0000)
garmin_txt.c
patch
|
blob
|
history
diff --git
a/garmin_txt.c
b/garmin_txt.c
index 20aae4cd664ce39e82d5a748f7f8e465540ac1e9..d1dc1eb795021458d7ece8193b05ab3afff62e12 100644
(file)
--- a/
garmin_txt.c
+++ b/
garmin_txt.c
@@
-1137,9
+1137,9
@@
bind_fields(const header_type ht)
static void
parse_grid(void)
{
+ char *str = csv_lineparse(NULL, "\t", "", 1);
grid_index = -1;
- char *str = csv_lineparse(NULL, "\t", "", 1);
if (str != NULL) {
if (strstr(str, "dd.ddddd") != 0) grid_index = GRID_IDX_LAT_LON_DDD;
else if (strstr(str, "mm.mmm") != 0) grid_index = GRID_IDX_LAT_LON_DMM;